﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Contract_View.aspx.cs" Inherits="Customer_Contract_View" MasterPageFile="../SelectMasterPage.master" %>
<%@ Import Namespace="Common" %>
<%@ Import Namespace="DAL" %>

<asp:Content runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
    <table cellpadding="0" cellspacing="2" width="100%" border="0">
	<tr>
		<td  valign="top">
		<table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
			<tr>
		        <td class="leftTd"  valign="top">
		        <table cellpadding="0" cellspacing="0" width="100%" border="0" align="center">
		        	<tr>
		            	<td class="titleStyle">查看合同</td>
		            </tr>
		        </table>
		        <br />
		        <table cellpadding="0" cellspacing="1" width="100%" border="0" style="background:#000066;">
	                    <tr>
	                        <td class="leftContent">客户名称：</td>
	                        <td class="RightContent"><%= new Account().GetAccountByKey(contract.MUserKey).CompanyName+","+new Account().GetAccountByKey(contract.MUserKey).RealName  %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">合同类型：</td>
	                        <td class="RightContent"><%= contract.ContractType %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">合同序号：</td>
	                        <td class="RightContent"><%= contract.ContractNO %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">合同开始日期：</td>
	                        <td class="RightContent"><%= contract.StartDate %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">合同结束日期：</td>
	                        <td class="RightContent"><%= contract.EndDate %></td>
	                    </tr>
	                    <tr>
	                        <td class="leftContent">合同金额：</td>
	                        <td class="RightContent"><%= contract.ContractPrice%></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">付款周期：</td>
	                        <td class="RightContent"><%= contract.PayPeriod %></td>
	                    </tr>
	                     <tr>
	                        <td class="leftContent">备注：</td>
	                        <td class="RightContent"><%= contract.Remark %></td>
	                    </tr>
	                     </table>
				</td>
		    </tr>
		</table>
        </td>
    </tr>
</table>
</asp:Content>

